package com.elock.entity;

import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.elock.base.core.entity.BaseEntity;

/**
 * Entity - 钥匙车辆关联
 * @author 仁德
 */
@Entity
@Table(name = "terminal_car")
@SequenceGenerator(name = "sequenceGenerator", sequenceName = "terminal_car_sequence")
public class TerminalCar extends BaseEntity {

	private static final long serialVersionUID = 1386745660360951034L;

	/** 车辆id */
	private Long carId;

	/** 车牌号 */
	private String carNumber;

	/** 终端设备id */
	private Long terminalId;

	/** 终端设备编号 */
	private String terminalNum;

	/**  
	 * 获取carId  
	 * @return carId carId  
	 */
	public Long getCarId() {
		return carId;
	}

	/**  
	 * 设置carId  
	 * @param carId carId  
	 */
	public void setCarId(Long carId) {
		this.carId = carId;
	}

	/**  
	 * 获取carNumber  
	 * @return carNumber carNumber  
	 */
	public String getCarNumber() {
		return carNumber;
	}

	/**  
	 * 设置carNumber  
	 * @param carNumber carNumber  
	 */
	public void setCarNumber(String carNumber) {
		this.carNumber = carNumber;
	}

	/**  
	 * 获取terminalId  
	 * @return terminalId terminalId  
	 */
	public Long getTerminalId() {
		return terminalId;
	}

	/**  
	 * 设置terminalId  
	 * @param terminalId terminalId  
	 */
	public void setTerminalId(Long terminalId) {
		this.terminalId = terminalId;
	}

	/**  
	 * 获取terminalNum  
	 * @return terminalNum terminalNum  
	 */
	public String getTerminalNum() {
		return terminalNum;
	}

	/**  
	 * 设置terminalNum  
	 * @param terminalNum terminalNum  
	 */
	public void setTerminalNum(String terminalNum) {
		this.terminalNum = terminalNum;
	}

}
